package cn.kingyang.yiyi.ui.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;

import java.util.List;

import cn.kingyang.yiyi.R;
import cn.kingyang.yiyi.mvp.model.bean.HttpData;
import cn.kingyang.yiyi.mvp.model.bean.NobleVideo;
import cn.kingyang.yiyi.mvp.presenter.SearchPresenter;
import cn.kingyang.yiyi.mvp.view.SearchView;

/**
 * Created by Administrator on 2017/3/11.
 */

public class SearchActivity extends BaseActivity<SearchView,SearchPresenter> implements SearchView{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
    }

    @Override
    protected SearchPresenter getPresenter() {
        return new SearchPresenter();
    }

    @Override
    protected int getLayout() {
        return R.layout.activity_search;
    }

    @Override
    public void dosearch(HttpData<List<NobleVideo>> data) {

    }

    @Override
    public void showProgress() {

    }

    @Override
    public void hideProgress() {

    }

    @Override
    public void onError(Throwable t) {

    }
}
